<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Modal Window - jQuery EasyUI Demo</title>
    <link href="../../themes/default/easyui.css" rel="stylesheet" type="text/css">
    <link href="../../themes/icon.css" rel="stylesheet" type="text/css">
    <link href="../demo.css" rel="stylesheet" type="text/css">
    <script src="../../jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="../../jquery.easyui.min.js" type="text/javascript"></script>
</head>
<body>
<h2>Modal Window</h2>
<div class="demo-info">
    <div class="demo-tip icon-tip"></div>
    <div>Click the open button below to open the modal window.</div>
</div>
<div style="margin:10px 0;">
    <a class="easyui-linkbutton" href="javascript:void(0)" onclick="$('#w').window('open')">Open</a>
    <a class="easyui-linkbutton" href="javascript:void(0)" onclick="$('#w').window('close')">Close</a>
</div>
<div class="easyui-window" data-options="modal:true,closed:true,iconCls:'icon-save'" id="w" style="width:500px;height:200px;padding:10px;"
     title="Modal Window">
    The window content.
</div>

</body>
</html>